﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace TestConsole3
{
    class Program
    {
        static void Main(string[] args)
        {

            //new UnRepeat().Test();
            //new Repeat().Test();

            #region 无序
            UnOrder r = new UnOrder();
            var result = r.GetCombinData(5, 4);
            foreach (var item in result)
            {
                foreach (var obj in item)
                {
                    Console.Write($"{obj},");
                }
                Console.WriteLine();
            }
            Console.ReadLine();
            #endregion

            #region  有序
            new Order().Test();
            #endregion
        }

    }
}
